Version

AddRange(UltraGridRow[],Boolean,Boolean) Method

Selects rows contained in passed in rows array keeping the existing selected rows selected.
Syntax
'Declaration
 
Public Overloads Sub AddRange( _
   ByVal rows() As UltraGridRow, _
   ByVal ensureRowsOrdered As Boolean, _
   ByVal fireSlectionChangeEvent As Boolean _
) 
public void AddRange( 
   UltraGridRow[] rows,
   bool ensureRowsOrdered,
   bool fireSlectionChangeEvent
)

Parameters

rows
Rows to select.
ensureRowsOrdered
If true then sorts the rows in their visible order. For efficiency reason you may want to specify false for this parameter, if for example the order of rows in the selected rows collection doesn't matter to your logic that accesses and manipulates the selected rows collection or you know the rows to be in the correct order.
fireSlectionChangeEvent
Specifies whether to fire the UltraGrid.BeforeSelectChange and UltraGrid.AfterSelectChange events.
Remarks

This method can be used to select a range of rows. It will keep the existing selected rows and select the passed in rows.

You can use UltraGridRow.Selected property to select or unselect individual rows.

,

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also